package cn.bgs.dao;

import cn.bgs.pojo.Dormitory;

import java.util.List;

public interface DormitoryMapper {
    int deleteByPrimaryKey(Integer pkId);

    int insert(Dormitory record);

    int insertSelective(Dormitory record);

    Dormitory selectByPrimaryKey(Integer pkId);

    int updateByPrimaryKeySelective(Dormitory record);

    int updateByPrimaryKey(Dormitory record);

    List<Dormitory> findAll();

    void deleteDor(Integer pkId);

    List<Dormitory> queryDor(Dormitory dormitory);
}